package util;

public class Config {

    public static final String getCrawler_MYSQL_URL() {
        return System.getenv("crawler_MYSQL_URL");
    }

    public static final String getCHROME_DRIVER(){
        return System.getenv("chrome.driver");
    }

    public static final String getCrawler_MYSQL_USER() {
        return System.getenv("crawler_MYSQL_USER");
    }

    public static final String getCrawler_MYSQL_PSWD() {
        return System.getenv("crawler_MYSQL_PSWD");
    }

    static final String getCrawler_COOKIE_POOL() {
        return System.getenv("crawler_COOKIE_POOL");
    }

    public static final String getCrawler_IP_POOL() {
        return System.getenv("crawler_IP_POOL");
    }

    public static final String getCrawler_THREAD_NUMS() {
        return System.getenv("crawler_THREAD_NUMS");
    }


    public static final String getCrawler_REDIS() {
        return System.getenv("crawler_REDIS");
    }
    public static final String getCrawler_KAFKA_SERVER() {
        return System.getenv("crawler_KAFKA_SERVER");
    }

    public static final String getCrawler_PREFIX() {
        return System.getenv("crawler_PREFIX");
    }

    static final String getCrawler_COOKIE_POOL_VER() {
        return System.getenv("crawler_COOKIE_POOL_VER");
    }

    public static final String getCrawler_SPIDER_SLEEP_TIME() {
        return System.getenv("crawler_SPIDER_SLEEP_TIME");
    }
    public static final String getCrawler_INVALID_WAIT_TIME() {
        return System.getenv("crawler_INVALID_WAIT_TIME");
    }
    public static final String getCrawler_CycleRetryTimes() {
        return System.getenv("crawler_CycleRetryTimes");
    }
}
